package tpo.lmhconsumer.lmhconsumer.service.impl;

import dto.Dto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tpo.lmhconsumer.lmhconsumer.feign.LabelClient;
import tpo.lmhconsumer.lmhconsumer.service.LabelService;

import java.util.Map;

@Service
public class LabelServiceImpl implements LabelService {
    @Autowired
    LabelClient labelClient;

    @Override
    public Dto getLabel(Map map) {
        return labelClient.getLabel(map);
    }

    @Override
    public Dto updateLabel(Map map) {
        return labelClient.updateLabel(map);
    }

    @Override
    public Dto addLabel(Map map) {
        return labelClient.addLabel(map);
    }

    @Override
    public Dto delLabel(Map map) {
        return labelClient.delLabel(map);
    }
}
